package com.example.fengyungo.domain;

import androidx.annotation.NonNull;

import java.io.Serializable;

/**
 * @author 徐
 */
public class OrderDetailsVO implements Serializable {
    /**
     * 发货者id（用户id）
     */
    private String userId;
    /**
     * 接单者id
     */
    private String receiverId;
    /**
     * 货物编号
     */
    private String number;
    /**
     * 起点
     */
    private String begin;
    /**
     * 终点
     */
    private String end;
    /**
     * 最早接收时间
     */
    private String earliestTime;
    /**
     * 最晚送达时间
     */
    private String latestTime;
    /**
     * 备注
     */
    private String note;
    /**
     * 定价
     */
    private Double price;
    /**
     * 支付状态
     */
    private Integer payStatus;
    /**
     * 订单状态
     */
    private Integer orderStatus;
    /**
     * 订单评分
     */
    private Float credit;
    /**
     * 长
     */
    private Double length;
    /**
     * 宽
     */
    private Double width;
    /**
     * 高
     */
    private Double height;
    /**
     * 重量
     */
    private Double weight;
    /**
     * 图片
     */
    private String image;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getBegin() {
        return begin;
    }

    public void setBegin(String begin) {
        this.begin = begin;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getEarliestTime() {
        return earliestTime;
    }

    public void setEarliestTime(String earliestTime) {
        this.earliestTime = earliestTime;
    }

    public String getLatestTime() {
        return latestTime;
    }

    public void setLatestTime(String latestTime) {
        this.latestTime = latestTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Float getCredit() {
        return credit;
    }

    public void setCredit(Float credit) {
        this.credit = credit;
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @NonNull
    @Override
    public String toString() {
        return "OrderDetailsVO{" +
                "userId='" + userId + '\'' +
                ", receiverId='" + receiverId + '\'' +
                ", number='" + number + '\'' +
                ", begin='" + begin + '\'' +
                ", end='" + end + '\'' +
                ", earliestTime='" + earliestTime + '\'' +
                ", latestTime='" + latestTime + '\'' +
                ", note='" + note + '\'' +
                ", price=" + price +
                ", payStatus=" + payStatus +
                ", orderStatus=" + orderStatus +
                ", credit=" + credit +
                ", length=" + length +
                ", width=" + width +
                ", height=" + height +
                ", weight=" + weight +
                ", image='" + image + '\'' +
                '}';
    }
}
